package com.core.visitor.dao;

import java.util.List;

import com.core.visitor.dto.VisitorDto;
import com.core.visitor.dto.VisitorSearchCondition;
import com.core.visitor.pojo.Visitor;


public interface VisitorDao {
	void add (Visitor visitor);
	
	void update (Visitor visitor);	
	
	void del(Visitor Visitor);
	
	Visitor getById(int id);
	
	Visitor getFirstVisitor(Long visaInfoId);
	
	Visitor getPojo(Visitor visitor);
	
	Integer searchCnt(VisitorSearchCondition sc);
	
	List<Visitor> searchPojoList(VisitorSearchCondition sc);
	
	List<VisitorDto>searchDtoList(VisitorSearchCondition sc);
	//归国报告书用
	List<Visitor> getVisitorList(Long id);
	List<Visitor> getVisitorList2(VisitorSearchCondition sc);
}
